package com.lyk.swap.orm;

import java.util.Set;

/**
 * Trader entity. @author MyEclipse Persistence Tools
 */

public class Trader implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 4355814446889284971L;
	private Integer id;
	private String password;
	private Set<Trade> trades;
	private Set<Future> futures;

	// Constructors

	/** default constructor */
	public Trader() {
	}

	/** full constructor */
	public Trader(Integer id, String password, Set<Trade> trades,
			Set<Future> futures) {
		this.id = id;
		this.password = password;
		this.trades = trades;
		this.futures = futures;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set<Trade> getTrades() {
		return trades;
	}

	public void setTrades(Set<Trade> trades) {
		this.trades = trades;
	}

	public Set<Future> getFutures() {
		return futures;
	}

	public void setFutures(Set<Future> futures) {
		this.futures = futures;
	}

}